home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 6 / FM Towns Free Software Collection 6.iso / ms_dos / npcut / src / npcut.h < prev   
Encoding:
C/C++ Source or Header  |  1993-07-08  |  1.1 KB  |  48 lines

  1. /**************** npcut.h *******************/
  2.  
  3. #include <stdio.h>
  4. #include <stdlib.h>
  5. #include <string.h>
  6. #include <ctype.h>
  7. #include <jctype.h>
  8. #include <jstring.h>
  9. #include <dos.h>
  10. #include <io.h>
  11. #include <fcntl.h>
  12.  
  13. #define NUL 0
  14. #define TAB 0x09
  15. #define RET 0x0A
  16. #define TRUE  1
  17. #define FALSE 0
  18.  
  19. #define NP_DEL  5
  20.  
  21. #ifdef MAIN
  22. char inputfile[80];        /*    -i    */
  23. char outputfile[80];    /*    -o    */
  24.  
  25. FILE *input,*output;
  26.  
  27. char npcut_front[4]  ={0x1b,0x26,0x36,0x41};
  28. char npcut_tellstr[5]={0x1b,0x26,0x36,0x40,0};
  29. char npcut_nifend[21]={ 0x18,0x1f,0x40,0x40,0x0e,0x20,0x7f,0x7f,0x21,0x4c,
  30.                         0x3e,0x44,0x3c,0x40,0x40,0x40,0x40,0x20,0x68,0x40,0};
  31. char npcut_niffirst[9]={0x1b,0x23,0x33,0x1b,0x33,0x1b,0x26,0x32,0};
  32. char npcut_weather[10]={0x1b,0x2d,0x57,0x0e,0x21,0x4c,0x20,0x68,0x40,0};
  33.  
  34. int make_val = 0 ;
  35. int weatherflg = 0;
  36.  
  37. #endif
  38.  
  39. extern char inputfile[80];        /*    -i    */
  40. extern char outputfile[80];    /*    -o    */
  41. extern FILE *input,*output;
  42.  
  43. extern char npcut_front[4];
  44. extern char npcut_tellstr[5];
  45. extern char npcut_nifend[21];
  46. extern char npcut_niffirst[9];
  47. extern char npcut_weather[10];
  48.